package com.ruoyi.siyun.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * feedback对象 sy_review_feedback
 * 
 * @author ruoyi
 * @date 2024-12-30
 */
public class SyReviewFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审核反馈主键id */
    private Long id;

    /** 审核项目的id（1.课程审核 2.商品审核 3.V圈审核） */
    @Excel(name = "审核项目的id", readConverterExp = "1=.课程审核,2=.商品审核,3=.V圈审核")
    private Long projectId;

    /** 审核项目的个体id */
    @Excel(name = "审核项目的个体id")
    private Long itemId;

    /** 审核状态（0.通过 1.未通过） */
    @Excel(name = "审核状态", readConverterExp = "0=.通过,1=.未通过")
    private Long state;

    /** 审核未通过的备注 */
    @Excel(name = "审核未通过的备注")
    private String remarks;

    /** 审核人id */
    @Excel(name = "审核人id")
    private Long userId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("itemId", getItemId())
            .append("state", getState())
            .append("remarks", getRemarks())
            .append("userId", getUserId())
            .append("time", getTime())
            .toString();
    }
}
